package com.design.pattern.stratogy.duck;

import com.design.pattern.stratogy.Duck;
import com.design.pattern.stratogy.behavior.FlyNoWay;
import com.design.pattern.stratogy.behavior.muteQuack;

public class DecoyDuck extends Duck {

    public DecoyDuck(){
        flyBehavior = new FlyNoWay();
        quackBehavior = new muteQuack();
    }

    protected void display() {
        System.out.println("我是一只诱饵鸭子");
    }
}